
<!-- 外 -->
<table width="100%" cellpadding="4" cellSpacing="0" border = "0" bordercolor="{$color['border']}" >
<tr valign="top">
<td align="center">
	<!-- 棋盘 -->
	<table cellpadding="14" cellSpacing="0" border ="1" bordercolor="#666699" background="{$rmdir}/board.gif">
	<tr>
	<td>
	{$html_board}
	</td>
	</tr>
	</table>

	</td>

	<td width="100%" align="left" valign="top"  >

	{$panel}

	</td>
</tr>
</table>


	<table width="100%" cellpadding="5" cellSpacing="0" border = "0"  >
	<form name="selboard" action="g_view.php">
	<tr>
		<td>
		<select name="boardstyle" style="background:$color[heading]" onChange="document.selboard.submit()" >
		<option selected>Board Styles</option>
		{$board_options}
		</select>
		<input type="hidden" name="gid" value="{$gid}">
		</td>
		<td>
			<input type="text" size="7" id="bf_status" readonly value="{$gdata['mcount']}/{$gdata['mcount']}" >
		&nbsp;<button  type="button" onclick="MoveToBegin()">始</button><button type="button" onclick="MoveBack()">←</button><button onclick="MoveForward()">→</button><button  type="button" type="button" onclick="MoveToEnd()">末</button>

		</td>
	</tr>
	</form>
	</table>


<script language="javascript">
<!--
//这里是php传递过来的参数
mcount = {$gdata['mcount']};
curstep = {$gdata['mcount']};
step5 ={$step5};
black_f ="{$rmdir}/black_f.gif";
white_f ="{$rmdir}/white_f.gif";
black ="{$rmdir}/black.gif";
white ="{$rmdir}/white.gif";
pos5a ="{$rmdir}/5a.gif";
pos5b ="{$rmdir}/5b.gif";
imgair = "{$rmdir}/air.gif";
thisgid = {$gid};
checkcode = "{$checkcode}";
//-->
</script>
<script language="JavaScript" src="./lang/{$lang_pack}/board.js" type="text/JavaScript">
</script>

$frame_auto
